package com.bot.nft.core.enums.chain;

import lombok.Getter;

/**
 * 系统内置的不可删除的标识枚举
 *
 * @author zhangkaige
 * @since 2024/2/1 19:56
 **/
@Getter
public enum ChainOptEnum {

    /**
     * 创建链账户uri
     */
    URI_CREATE_ACCOUNT("/v3/account", "创建链账户"),
    /**
     * 创建NFT类别uri
     */
    URI_CREATE_NFT_CLASS("/v3/native/nft/classes", "创建NFT类别"),
    /**
     * 发行NFTuri
     */
    URI_RELEASE_NFT("/v3/native/nft/nfts/", "发行NFT"),
    /**
     * 转让NFTuri
     */
    URI_TRANSFER_NFT("/v3/native/nft/nft-transfers/", "转让NFT"),
    /**
     * 销毁NFT
     */
    URI_DESTROYED_NFT("/v3/native/nft/nfts/", "销毁NFT"),
    /**
     * 查询上链结果uri
     */
    URI_QUERY_OPERATION_RESULTS("/v3/native/tx/", "查询上链结果"),


    /**
     * 请求成功状态码
     */
    SUCCESSFUL_CODE("200","请求成功状态码"),

    /**
     * 名字
     */
    BOT_NFT("bot-nft","链账户名称");

    private final String value;

    private final String name;

    ChainOptEnum(String value, String name) {
        this.value = value;
        this.name = name;
    }
}
